package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对象 book_info
 * @author ruoyi
 * @date 2023-12-24
 */
public class BookInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图书ID */
    private Long bookId;

    /** 图书名称 */
    @Excel(name = "图书名称")
    private String bookName;

    /** 图书作者 */
    @Excel(name = "图书作者")
    private String bookAuthor;

    /** 图书价格 */
    @Excel(name = "图书价格")
    private BigDecimal bookPrice;

    /** 图书库存 */
    @Excel(name = "图书库存")
    private Long bookInventory;

    /** 图书备注 */
    @Excel(name = "图书备注")
    private String bookNote;

    private String avatar;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setBookId(Long bookId)
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }
    public void setBookName(String bookName) 
    {
        this.bookName = bookName;
    }

    public String getBookName() 
    {
        return bookName;
    }
    public void setBookAuthor(String bookAuthor) 
    {
        this.bookAuthor = bookAuthor;
    }

    public String getBookAuthor() 
    {
        return bookAuthor;
    }
    public void setBookPrice(BigDecimal bookPrice) 
    {
        this.bookPrice = bookPrice;
    }

    public BigDecimal getBookPrice() 
    {
        return bookPrice;
    }
    public void setBookInventory(Long bookInventory) 
    {
        this.bookInventory = bookInventory;
    }

    public Long getBookInventory() 
    {
        return bookInventory;
    }
    public void setBookNote(String bookNote) 
    {
        this.bookNote = bookNote;
    }

    public String getBookNote() 
    {
        return bookNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bookId", getBookId())
            .append("bookName", getBookName())
            .append("bookAuthor", getBookAuthor())
            .append("bookPrice", getBookPrice())
            .append("bookInventory", getBookInventory())
            .append("bookNote", getBookNote())
            .toString();
    }
}
